package com.bean;

import android.text.TextUtils;

/**
 * Created by Administrator on 2017/5/14 0014.
 * 汇卡地区
 */

public class HuiKaAreaCode {
    private int id;
    private String code;
    private String p_code;    //上级编码
    private String name;     //地区名称
    private String areacode; //地区编码

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getP_code() {
        return p_code;
    }

    public void setP_code(String p_code) {
        this.p_code = p_code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAreacode() {
        return areacode;
    }

    public void setAreacode(String areacode) {
        this.areacode = areacode;
    }

    public boolean isProvinceCode() {
        return "0".equals(p_code);
    }
}
